//左侧导航加减图片切换
$('.checked').on('click', (e) => {
    let id = e.target.dataset.target
    console.log($(e.target.dataset.target).is('.show'))
    if ($(id).is('.show')) {
        $(e.target).attr("src", '/images/perfume/add.png');
    } else {
        $(e.target).attr("src", '/images/perfume/reduce.png');
    }
})

// $("#ex16b").slider({ min: 0, max: 10, value: [0, 10], focus: true });
$("#ex16b").slider({ min: 220, max: 5320, value: [220, 5320], focus: false });
 $("#ex16b").on("slide", function (slideEvt) {
    $("#left").text((slideEvt.value)[0]);
    $("#right").text((slideEvt.value)[1]);
    priceMaxMin(current, (slideEvt.value)[0], (slideEvt.value)[1])
});